package com.boat.boat.support.api.controller;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import com.boat.boat.support.api.dto.notice.SendSMSReq;
import com.boat.boat.support.api.dto.notice.SendSMSRsp;
import com.boat.framework.base.api.Response;

import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;

/**
 * 通知接口
 * 
 * @author 周江
 *
 */
@Tag(name = "通知接口")
@FeignClient(name = "boat-sample-support", contextId = "NoticeApi")
public interface NoticeApi {
	@Operation(summary = "发送短信通知")
	@PostMapping("/api/support/notice/sendSMS")
	Response<SendSMSRsp> sendSMS(@RequestBody SendSMSReq request);
}
